package com.airy.highSpeed.service;


import com.airy.highSpeed.entity.FlowTrafficEntity;
import com.airy.highSpeed.utils.PageUtils;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * ${comments}
 *
 * @author dingyakun
 * @email 821041490@qq.com
 * @String 2020-12-15 13:21:16
 */
public interface FlowTrafficService extends IService<FlowTrafficEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<FlowTrafficEntity> findAll();

    List<FlowTrafficEntity> find(String shijian, String bianhao);

    List<FlowTrafficEntity> findBystartTimeAndTollStationIdAndFlage1(String thisWeekStringLastOneWeek, String thisWeekStringLastTwoWeek, String thisWeekStringLastThreeWeek, String thisWeekStringLastFourWeek, String tollStationId);

    List<FlowTrafficEntity> findBystartTimeAndTollStationIdAndFlage2(String thisWeekStringLastOneWeek, String thisWeekStringLastTwoWeek, String thisWeekStringLastThreeWeek, String thisWeekStringLastFourWeek, String tollStationId);

    List<FlowTrafficEntity> findBySTARTTIMEAndTOLLSTATIONID(String startTime, String tollStationId);
}

